package com.lwc.cfdns.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;

/**
 * 数据类型
 *
 * @author luwc
 * @title InfoTypeEnum
 * @description
 * @time 2023/4/27 08:22:06
 * @version: 1.0
 */
public enum InfoTypeEnum {
    PRIMARY(1, "小学"),
    SECONDORY(2, "中学"),
    HIGH(3, "高中");

    InfoTypeEnum(int code, String descp) {
        this.code = code;
        this.descp = descp;
    }

    @EnumValue//标记数据库存的值是code
    private final int code;
    private final String descp;
}
